#include "ShellSort.hpp"
#include <time.h>
#include <stdlib.h>

const int num = 100;

void TestShellSort()
{
  int* array = (int*)malloc(sizeof(int) * num);
  if(array == NULL) return ;
  for(int i = 0; i < num; i++){
    array[i] = rand() % 100 + 1;
  }

  ShellSort(array, num);
  Print(array, num);
  free(array);
}

int main()
{
  srand((unsigned long)time(NULL));
  TestShellSort();

  return 0;
}
